Skip to content

Conversation

@NathanMOlson
Copy link
Owner

This PR shows the changes required to use textures instead of uniforms for the color relief color ramp.

zbigniewmatysek-tomtom and others added 13 commits May 20, 2025 20:35
…bre#5613)

* add global-state expression support

* set global state on style load

* use forked spec

* temporarily build in prepare step

* temporary build fix

* fix unit tests

* test setGlobalState

* add setGlobalStateProperty

* add getGlobalState

* jsdoc

* update to support schema

* validate style fixes

* use exported types

* remove validation

* cleanout

* update filter evaluation in all layer types

* cleanout

* use style spec fork, fix worker transfer

* cleanout

* tests & fixes

* fixes + example

* minor fixes

* update CHANGELOG

* review fixes

* review fixes

* fix tests

* add global state diff

* include optional sharp dependencies

* full diff implementation, example fixes

* fix spellcheck

* update bundle size test

* review fixes

* review fix

* review fixes

* fix types

* update tests

* use latest spec

* _setGlobalState -> setGlobalState

* more tests

* ensure 100% coverage for new style methods
* Adapt coveringTiles for usage with generic bounding volumes

* Basic OBB implementation

* Attempt at globe OBB generation

* Temp: bounding box debug view

* OBB generation fixes

* Add detailed comments to the OBB computation

* Minor refactor

Mostly comments and function+argument names

* Handle terrain in globe OBB generation

* Fix failing unit tests

* Add OBB unit tests

* Remove obb-debug page

* Shorten camera frustum to not extend far beyond the horizon clipping plane

* Fix obb-frustum test

* Use a general convex bounding volume

* Frustum debug example

* Refactor names and update tests

* Update build size

* Add changelog entry

* Delete frustum debug webpage

* Optimize convex volume - frustum test

* Update build size

* Include NathanMOlson's unit tests from PR 5835

* Fix failing tests

* Break up primitives.test.ts into multiple files

* Minor refactor

* Fix changelog

* Add mercator covering tiles benchmark

* Rename prepareNextFrame to swapBuffers

* Remove generic CoveringTilesDetailsProviderImplementation interface

* Return early from isTileVisible

* Add threePlaneIntersection tests

* Improve frustum creation + code review fixes

* Split up frustum creation function

* Fix constants in frustum.ts
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.19 to 22.15.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sharp](https://github.com/lovell/sharp) from 0.34.1 to 0.34.2.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.34.1...v0.34.2)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.34.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants